-- GENERATED SPELL FOR [Daggerfen Assassin] --


function spell0_18116(pUnit, Event) --@Toxic Fumes,Self--
pUnit:FullCastSpellOnTarget(35204,pUnit)
pUnit:RegisterEvent('Sorts_18116', 46000, 1)
end

function Sorts_18116(pUnit, Event)
local choix_sorts_18116 = math.random(0, 0)
if choix_sorts_18116 == 0 then
pUnit:RegisterEvent('spell0_18116', 1, 1)
end
end

function mob18116_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18116', math.random(1500, 3000), 1)
end

function mob18116_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18116_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18116_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18116, 1, 'mob18116_Action')
RegisterUnitEvent(18116, 2, 'mob18116_Leave')
RegisterUnitEvent(18116, 3, 'mob18116_Kill')
RegisterUnitEvent(18116, 4, 'mob18116_Die')
